package com.yugao.fintech.antelope.system.assembly;

import com.yugao.fintech.antelope.system.model.entity.SysArticle;
import com.yugao.fintech.antelope.system.model.rqrs.article.ArticleResp;
import com.yugao.fintech.antelope.system.model.rqrs.article.ArticleSaveReq;
import com.yugao.fintech.antelope.system.model.rqrs.article.ArticleUpdateReq;
import org.mapstruct.Mapper;

/**
 * 文章
 *

 */
@Mapper(componentModel = "spring")
public interface SysArticleAssembly {
  ArticleResp toArticleResp(SysArticle source);
  
  SysArticle toArticle(ArticleSaveReq source);
  
  SysArticle toArticle(ArticleUpdateReq source);
}
